package com.anonymous.community.api.model;

/**
 * 创建帖子响应 - 根据API v3.0.0文档
 * 响应格式：{ "post": {...} }
 */
public class CreatePostResponse {
    private PostInfo post;

    public static class PostInfo {
        private int id;
        private String content;
        private int author_id;
        private String anonymous_id;
        private int view_count;
        private int like_count;
        private int comment_count;
        private String moderation_status;
        private double moderation_score;
        private String created_at;
        private String updated_at;

        public int getId() {
            return id;
        }

        public String getContent() {
            return content;
        }

        public int getAuthorId() {
            return author_id;
        }

        public String getAnonymousId() {
            return anonymous_id;
        }

        public int getViewCount() {
            return view_count;
        }

        public int getLikeCount() {
            return like_count;
        }

        public int getCommentCount() {
            return comment_count;
        }

        public String getModerationStatus() {
            return moderation_status;
        }

        public double getModerationScore() {
            return moderation_score;
        }

        public String getCreatedAt() {
            return created_at;
        }

        public String getUpdatedAt() {
            return updated_at;
        }
    }

    public PostInfo getPost() {
        return post;
    }

    public void setPost(PostInfo post) {
        this.post = post;
    }
}
